<?php

return [
    //API授权
    '/oauth2/<action:\w+>' => '/auth/<action>',
    //全局
    '/<controller:\w+>/<id:\d+>' => '/<controller>/view',
    '/<controller:\w+>/<action:\w+>' => '/<controller>/<action>',
    '<module>/<controller:\w+>/<id:\d+>' => '<module>/<controller>/view',
    '<module>/<controller:\w+>/<action:\w+>' => '<module>/<controller>/<action>',
    '<controller:\w+>/<action:\w+>/<id:\d+>' => '<controller>/<action>',
    '<controller:\w+>/<action:\w+>' => '<controller>/<action>',
];
